package com.surfilter.code.model;

/**
 * 
 * <p>Title:列</p>
 * <p>Description:</p>
 * <p>Company: 深圳任子行网络技术股份有限公司 </p>
 * @version 1.00 
 * @since 2012-10-23
 * @author liuhe
 *  
 * Modified History: 
 *
 */
public class Field {

	private boolean nullable;
	
    private String def;
    
    private String name;
    
    private String type;
    
    private int length;
    
    private String comment;

    private boolean autoIncrement;
    
    private String sqlTypeName;
    
	public String getSqlTypeName() {
		return sqlTypeName;
	}

	public void setSqlTypeName(String sqlTypeName) {
		this.sqlTypeName = sqlTypeName;
	}

	public boolean isAutoIncrement() {
		return autoIncrement;
	}

	public void setAutoIncrement(boolean autoIncrement) {
		this.autoIncrement = autoIncrement;
	}

	public boolean isNullable() {
		return nullable;
	}

	public void setNullable(boolean nullable) {
		this.nullable = nullable;
	}

	public String getDef() {
		return def;
	}

	public void setDef(String def) {
		this.def = def;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public int getLength() {
		return length;
	}

	public void setLength(int length) {
		this.length = length;
	}

	public String getComment() {
		return comment;
	}

	public void setComment(String comment) {
		this.comment = comment;
	}
}
